<template>
  <div class="main-wrap">
    <div class="left-wrap">
      <slot name="left"></slot>
    </div>
    <div class="right-wrap">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {};
</script>
<style lang="less" scoped>
.main-wrap {
  width: 800px;
  height: 600px;

  .left-wrap {
    width: 31%;
    height: 100%;
    background-color: #e4e4e4;
    float: left;
    box-sizing: border-box;
    border-right: 1px solid #ccc;
  }
  .right-wrap {
    width: 69%;
    height: 100%;
    background-color: #f5f5f5;
    float: left;
  }
}
</style>